/*
 * main.cpp
 *
 *  Created on: Sep 1, 2011
 *      Author: welcome
 */
#include <KD/kd.h>
#include "CGameBase.h"
#include <Box2D/Box2D.h>
#include <gg2d/gg2d.h>

#include "btBulletDynamicsCommon.h"
#include <stdio.h>
#include <KD/EXT_multitouch.h>

using namespace GGEngine;

KDint kdMain(KDint argc, const KDchar * const * argv) {
	(void) argc;
	(void) argv;

	CGameBase* gameBase = CGameBase::GetInstance();

	gameBase->SetMultitouchEnable(true);

	char fileName[] = "/res/music.mid";

	gameBase->PlayBgMusic(fileName);

	gameBase->MainLoop();
	/*
	 * End test code
	 */
	delete gameBase;

	return 0;
}
